package com.ruoyi.school.service;

import com.ruoyi.school.domain.PacFaculties;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author jeremylin
* @description 针对表【pac_faculties(学院表)】的数据库操作Service
* @createDate 2025-05-25 17:35:22
*/
public interface PacFacultiesService extends IService<PacFaculties> {
    /**
     * 获取所有的学院信息
     * @param pacFaculties
     * @return
     */
    List<PacFaculties> all(PacFaculties pacFaculties);

    /**
     * 保存学院信息
     * @param pacFaculties
     */
    void saveOne(PacFaculties pacFaculties);

    /**
     * 根据学院名字查询
     * @param faculties
     * @return
     */
    PacFaculties getInfoByFacultiesName(String faculties);

    List<PacFaculties> getList(PacFaculties pacCollege);

    PacFaculties getDetails(PacFaculties pacCollege);

    boolean add(PacFaculties pacCollege);

    boolean edit(PacFaculties pacCollege);

    boolean delete(PacFaculties pacCollege);
}
